<template>
  <div>
    <el-button @click="resetLoginForm">退出</el-button>
  </div>
</template>

<script>
export default {
  data () {
    return {

    }
  },
  beforeCreate () {
    // console.log(window.sessionStorage.token)
  },
  methods: {
    resetLoginForm () {
      window.sessionStorage.removeItem('token')
      location.reload()
    }
  }
}
</script>

<style>

</style>
